import axios from "axios"

axios.defaults.baseURL = "http://127.0.0.1:3000/api/"

export const findUserList = function(){
    return axios.get("users")
}

export const sendRquestParams = function(params={}){
    return axios.get("params",{
        params
    })
}

export const sendRquestBodyParams = function(params={}){
    return axios.post("params",params)
}

export default {
    findUserList,sendRquestParams,sendRquestBodyParams
}